package com.example.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.api.service.HelloService;

/**
 * 发布服务
 *
 * @author K024851
 * @date 2021/04/22 09:29
 **/

@Service //dubbo 发布服务的注解
public class HelloServiceImpl implements HelloService {
    @Override
    public String sayHello(String name) {
        return "hello:"+name;
    }
}
